import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {BusinessComponent} from './business.component';
import {NewsComponent} from './news/news.component';
const childrenRoutes: Routes = [
  {path: 'news', component: NewsComponent}
];
const businessRoutes: Routes = [{
  path: 'buz',
  component: BusinessComponent,
  children: childrenRoutes
}];

@NgModule({
  imports: [RouterModule.forChild(businessRoutes)],
  exports: [RouterModule],
  providers: []
})
export class BusinessRoutingModule {
}

